﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ajayumi.Test.WebUI.Utils;

namespace ajayumi.Test.WebUI
{
    public partial class UcList : ListUserControlRepeater
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }


        public override void ShowListPage()
        {
            base.DataKeyName = "Id";
            this.DataControl = this.Controls[0].FindControl("UpdatePanel1");
        }

        protected override System.Collections.ICollection GetBindDataObject(ref int rowCount)
        {
            TestInfo test = new TestInfo();
            List<TestInfo> lst = test.GetList(this.PageIndex, this.PageSize);
            rowCount = 1000;
            return lst;
        }
    }
}